package com.sjsoft.model;

import java.util.ArrayList;

public class videoItem {
	private String categoryId;
	private String extendId;
	private String name;	
	private String idIcon;	
	private String link;
	private String profileId;
	private int nAmount;
	private String sVideoId;
	private String sAddress;
	private String sDesc;
	private String sAge;
	private String sHeight;
	private String sWeight;
	private ArrayList<messageItem> arrMesg;

	public videoItem(String name,String extendId,String thumbnail,String link,String profileId,int amount,String videoId) 
	{
		this.name = name;		
		this.extendId = extendId;
		this.idIcon = thumbnail;
		this.link = link;
		this.profileId = profileId;
		this.nAmount = amount;
		this.sVideoId = videoId;
	}
	
	public void setAddress(String address)
	{	
		sAddress = address;
	}
	
	public String getAddress()
	{
		if(sAddress.equalsIgnoreCase("null"))
			sAddress = "--";
		return sAddress;
	}
	
	public void setAge(String age)
	{
		sAge = age;
	}
	
	public String getAge()
	{
		if(sAge.equalsIgnoreCase("null"))
			sAge = "--";
		return sAge;
	}
	
	public void setHeight(String height)
	{
		sHeight = height;
	}
	
	public String getHeight()
	{
		return sHeight;
	}
	
	public void setWeight(String weight)
	{
		sWeight = weight;
	}
	
	public String getWeight()
	{
		if(sWeight.equalsIgnoreCase("null"))
			sWeight = "--";
		return sWeight;
	}
	
	public void setDesc(String desc)
	{
		sDesc = desc;
	}
	
	public String getDesc()
	{
		return sDesc;
	}
	
	public void setMessage(ArrayList<messageItem> arr)
	{
		arrMesg = arr;
	}

	public ArrayList<messageItem> getMessage()
	{
		return arrMesg;
	}
	
	public void setEtendId(String extendId) {
		this.extendId = extendId;
	}

	public String getExtendId() {
		return this.extendId;
	}

	// /////////////////
	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryId() {
		return this.categoryId;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return this.name;
	}

	public void setIdIcon(String idIcon) {
		this.idIcon = idIcon;
	}

	public String getIdIcon() {
		return this.idIcon;
	}

	// /
	public void setLink(String link) {
		this.link = link;
	}

	public String getLink() {
		return this.link;
	}

	public String getProfileId()
	{
		return this.profileId;
	}
	public String getTime()
	{
		return "12:50";
	}

	public float  getVote()
	{
		return 3.5f;
	}
	
	public String getLike()
	{
		return "20.135";
	}
	
	public String getCountView()
	{
		return "10.135";
	}
	
	public int getAmount()
	{
		return nAmount;
	}
	
	public String getVideoId()
	{
		return sVideoId;
	}
}
